package com.kqb.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel("用户")
@NoArgsConstructor
public class User {
    @ApiModelProperty(example = "供应商用户id")
    Integer id;
    @ApiModelProperty("账号")
    String account;
    @ApiModelProperty("密码")
    String password;
    @ApiModelProperty("状态")
    String status;
    @ApiModelProperty("账号类型   1 平台用户\n2 客户\n3 供应商\n4 货代  ")
    int type;


    public User(String account, String password, int type) {
        this.account = account;
        this.password = password;
        this.type = type;
    }
}
